#include<stdio.h>
int main()
#pragma warning(disable:4996)
{
	double const pi = 3.14;
	float r = 0;
	scanf("%lf",&r);
	double V = 4 / 3 * pi * r * r * r;

	printf("%.3f", V);

	return 0;
}